package cn.life.money.controller;

import cn.life.common.pojo.CommonResult;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/money/demo")
@Validated
public class DemoController {

    @GetMapping("/get")
    public CommonResult<String> get() {
        return CommonResult.success("demo");
    }
}
